Remove version
authorMathieu Malaterre <malat@debian.org>
Wed, 11 Feb 2026 17:32:36 +0000 (18:32 +0100)
committerÉtienne Mollier <emollier@debian.org>
Wed, 11 Feb 2026 17:32:36 +0000 (18:32 +0100)
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1098944
Last-Update: 2025-03-21

Gbp-Pq: Name remove_version.patch

CMake/GenerateDCMTKConfigure.cmake

index ac3ae70aabe280e577c7700322346c7d09dc8bd2..bbe469d0207bc6895860b0351b54af8ce440c956 100644 (file)
@@ -195,8 +195,8 @@ else()
 
   # Modify the installation paths for configuration files, data files and documents
   # by adding a subdirectory with the DCMTK name and version number
-  set(CMAKE_INSTALL_SYSCONFDIR "${CMAKE_INSTALL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
-  set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
+  set(CMAKE_INSTALL_SYSCONFDIR "${CMAKE_INSTALL_SYSCONFDIR}/dcmtk")
+  set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/dcmtk")
   set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}")
 
   # These variables are defined as macros in osconfig.h and must end with a path separator